package com.bsoft.hospitalchs.model;

/**
 * Created by 泅渡者
 * Created on 2017/5/26.
 */

public class SearchResBean {
    public SearchResBean() {
    }

    public SearchResBean(BodyBean body, String code) {
        this.body = body;
        this.code = code;
    }

    /**
     * body : {"BIRTHDAY":"2014-03-02","NAME":"北苑管理员","PERSONNAME":"四月10","SEXCODE":"1","MEMBERCOST":4000,"GRADENAME":"3-6岁","CREATETIME":"2017-04-13","STATUS":"0","EMPIID":"c68ec9b18fa7428885fc44bffc05e309","MANADOCTORID":"1201","CARDNO":"10001","DATELINE":"2018-04-12","ADVANCECOST":4915.9,"GRADEID":"2","PHOTO":null}
     * code : 1000
     */

    private BodyBean body;
    private String code;

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public static class BodyBean {

        /**
         * BIRTHDAY : 2015-09-17
         * NAME : 马丛丽
         * MEMBERCOST : 50000
         * SEXCODE : 1
         * PERSONNAME : 刘二
         * AGE : 1岁9月
         * GRADENAME : 0-3岁
         * CREATETIME : 2017-06-02
         * STATUS : 0
         * EMPIID : 010862a18b8a4be7ae1f26c42104c0ab
         * MANADOCTORID : 1008
         * HEALTHCAREDATE : 2017-06-19
         * CARDNO : A0001
         * DATELINE : 2018-06-01
         * ADVANCECOST : 520.6
         * GRADEID : 1
         * SEXNAME : 男
         * PHOTO : null
         */

        private String BIRTHDAY;
        private String NAME;
        private int MEMBERCOST;
        private String SEXCODE;
        private String PERSONNAME;
        private String AGE;
        private String GRADENAME;
        private String CREATETIME;
        private String JZJG;
        private String STATUS;
        private String EMPIID;
        private String MANADOCTORID;
        private String HEALTHCAREDATE;
        private String CARDNO;
        private String DATELINE;
        private double ADVANCECOST;
        private String GRADEID;
        private String SEXNAME;
        private Object PHOTO;

        public String getBIRTHDAY() {
            return BIRTHDAY;
        }

        public void setBIRTHDAY(String BIRTHDAY) {
            this.BIRTHDAY = BIRTHDAY;
        }

        public String getNAME() {
            return NAME;
        }

        public void setNAME(String NAME) {
            this.NAME = NAME;
        }

        public int getMEMBERCOST() {
            return MEMBERCOST;
        }

        public void setMEMBERCOST(int MEMBERCOST) {
            this.MEMBERCOST = MEMBERCOST;
        }

        public String getSEXCODE() {
            return SEXCODE;
        }

        public void setSEXCODE(String SEXCODE) {
            this.SEXCODE = SEXCODE;
        }

        public String getPERSONNAME() {
            return PERSONNAME;
        }

        public void setPERSONNAME(String PERSONNAME) {
            this.PERSONNAME = PERSONNAME;
        }

        public String getAGE() {
            return AGE;
        }

        public void setAGE(String AGE) {
            this.AGE = AGE;
        }

        public String getGRADENAME() {
            return GRADENAME;
        }

        public void setGRADENAME(String GRADENAME) {
            this.GRADENAME = GRADENAME;
        }

        public String getCREATETIME() {
            return CREATETIME;
        }

        public void setCREATETIME(String CREATETIME) {
            this.CREATETIME = CREATETIME;
        }

        public String getJZJG() {
            return JZJG;
        }

        public void setJZJG(String JZJG) {
            this.JZJG = JZJG;
        }

        public String getSTATUS() {
            return STATUS;
        }

        public void setSTATUS(String STATUS) {
            this.STATUS = STATUS;
        }

        public String getEMPIID() {
            return EMPIID;
        }

        public void setEMPIID(String EMPIID) {
            this.EMPIID = EMPIID;
        }

        public String getMANADOCTORID() {
            return MANADOCTORID;
        }

        public void setMANADOCTORID(String MANADOCTORID) {
            this.MANADOCTORID = MANADOCTORID;
        }

        public String getHEALTHCAREDATE() {
            return HEALTHCAREDATE;
        }

        public void setHEALTHCAREDATE(String HEALTHCAREDATE) {
            this.HEALTHCAREDATE = HEALTHCAREDATE;
        }

        public String getCARDNO() {
            return CARDNO;
        }

        public void setCARDNO(String CARDNO) {
            this.CARDNO = CARDNO;
        }

        public String getDATELINE() {
            return DATELINE;
        }

        public void setDATELINE(String DATELINE) {
            this.DATELINE = DATELINE;
        }

        public double getADVANCECOST() {
            return ADVANCECOST;
        }

        public void setADVANCECOST(double ADVANCECOST) {
            this.ADVANCECOST = ADVANCECOST;
        }

        public String getGRADEID() {
            return GRADEID;
        }

        public void setGRADEID(String GRADEID) {
            this.GRADEID = GRADEID;
        }

        public String getSEXNAME() {
            return SEXNAME;
        }

        public void setSEXNAME(String SEXNAME) {
            this.SEXNAME = SEXNAME;
        }

        public Object getPHOTO() {
            return PHOTO;
        }

        public void setPHOTO(Object PHOTO) {
            this.PHOTO = PHOTO;
        }

        @Override
        public String toString() {
            return "BodyBean{" +
                    "BIRTHDAY='" + BIRTHDAY + '\'' +
                    ", NAME='" + NAME + '\'' +
                    ", MEMBERCOST=" + MEMBERCOST +
                    ", SEXCODE='" + SEXCODE + '\'' +
                    ", PERSONNAME='" + PERSONNAME + '\'' +
                    ", AGE='" + AGE + '\'' +
                    ", GRADENAME='" + GRADENAME + '\'' +
                    ", CREATETIME='" + CREATETIME + '\'' +
                    ", JZJG='" + JZJG + '\'' +
                    ", STATUS='" + STATUS + '\'' +
                    ", EMPIID='" + EMPIID + '\'' +
                    ", MANADOCTORID='" + MANADOCTORID + '\'' +
                    ", HEALTHCAREDATE='" + HEALTHCAREDATE + '\'' +
                    ", CARDNO='" + CARDNO + '\'' +
                    ", DATELINE='" + DATELINE + '\'' +
                    ", ADVANCECOST=" + ADVANCECOST +
                    ", GRADEID='" + GRADEID + '\'' +
                    ", SEXNAME='" + SEXNAME + '\'' +
                    ", PHOTO=" + PHOTO +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "SearchResBean{" +
                "body=" + body +
                ", code='" + code + '\'' +
                '}';
    }
}
